import request from '@/utils/request'

export const registerAPI = data => request.post('/h5/user/register', data)

export const loginAPI = data => request.post('/h5/user/login', data)

export const backLoginAPI = () => request.get('/h5/user/logout')

export const getUserInfoAPI = () => request.get('/h5/user/currentUser')
